<template>
    <div class="content-index-bd">
        <div class="list-ope-wrap">
            <div class="ope-bar clearfix">
                <div class="bar-left">
                    <div class="list-search">
                        <div class="suggest-search">
                            <a-input-search placeholder="采购单号/供应商/物品/项目" @search="onSearch" enterButton/>
                        </div>
                    </div>
                    <div class="filter-btn-wrap"></div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "searchBody",
        methods: {
            onSearch(value) {
                console.log(value);
            },
        },
    }
</script>

<style lang="stylus" scoped>
    .content-index-bd {
        padding: 16px 10px 10px 16px;
    }

    .list-ope-wrap {
        position: relative;
        z-index: 21;
    }

    .ope-bar {
        position: relative;
        z-index: 2;
        padding-bottom: 16px;
        display block
    }

    .bar-left {
        float: left;
    }

    .bar-left .list-search {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
    }

    .list-search {
        width: 350px;
    }

    .bar-left .list-search .suggest-search {
        position: relative;
        width: 100%;
    }

    .filter-btn-wrap {
        position: relative;
        display: inline-block;
    }
</style>